package cn.hx.mall.goods.entity;

import java.io.Serializable;

/**
 * 产品阶梯价格表(只针对同商品)(ProductLadder)实体类
 *
 * @author makejava
 * @since 2022-11-02 15:58:24
 */
public class ProductLadder implements Serializable {
    private static final long serialVersionUID = 255795382633550195L;

    private Long id;

    private Long productId;
    /**
     * 满足的商品数量
     */
    private Integer count;
    /**
     * 折扣
     */
    private Double discount;
    /**
     * 折后价格
     */
    private Double price;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

}